Dry studio provides developers with a Web UI to manage and generate code, which has the following advantages over using the command line:
All you need to do is typedry studio
on the command line to launch the Web UI interface, which uses the local port9160
to launch a web app.
🎉Congratulations, now you have successfully launched studio, here is how to use it!
First, you need to add an item. Enter the local absolute path of the item and click Add.
Note
This path is usually the full path to.sln
solution file. If you only need to generate code for your front-end project, you can also fill in the root directory path for your front-end project.
After you add the solution as a project, select the project on the homepage, click to enter the workbench, you can view the solid model contained in the project, and generate the corresponding code by代码生成
or批量操作
button!
View the solid model and generate code based on it:
Select what to generate
Online editing dto
To use front-end code generation, you first need to addSwagger url
, please refer to the following steps:
接口文档
menujs
icon in the upper right corner to pop up the generation pop-up window.